package OoDay01.Practice2;

import java.util.concurrent.Callable;

public class CarTest {
    public static void main(String[] args) {
      Car car1=new Car();
      car1.price=10;
      car1.color="白";
      car1.brand="大众";

      Car car2=new Car(15,"灰","大众");
      Car car3=new Car(20,"红","宝马");
      Car car4=new Car(35,"黑","奔驰");

      car1.start();
      car2.run();
      car3.stop();
      car4.start();
    }

}

